//焦点新闻相关接口


import { get, post } from '../../util/http.js'
const HOST = 'http://dhapi3.rz158.com'

export default {
  // 焦点新闻
  getfocus(id, uid) {
      return post(HOST + '/information/selectInformationDetail', {
        id: id,
        uid: uid
      })
  },

  // 单一评论的回复数据
  getCommentReply(commentId, page, pageSize, uid) {
    return post(HOST + '/information/selectSubCommentsList', {
      commentId: commentId,
      page: page,
      pageSize: pageSize || 20,
      uid: uid
    })
  },

  // 大咖说详情
  getMindMainDetail(mid, uid) {
    return post(HOST + '/mindMain/selectMindMainInfo', {
      uid: uid,
      mid: mid
    })
  },

  // 评论列表
  getMicroSpeakingComments(detailId, page, pageSize) {
    return post(HOST + '/microSpeakingComments/selectComments', {
      detailId: detailId,
      page: page,
      pageSize: pageSize || 20
    })
  }
}
